package com.cskaoyan.bean.wx_cart.vo;

import com.cskaoyan.bean.wx_cart.Cart;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 类<code>Doc</code>用于：TODO
 *
 * @author Acher
 * @version 1.0
 * @date 2021-10-22
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class CartIndexVo {

    private CartTotalDTO cartTotal;
    private List<Cart> cartList;

    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class CartTotalDTO {
        private Integer goodsCount;
        private Integer checkedGoodsCount;
        private Double goodsAmount;
        private Integer checkedGoodsAmount;
    }
}
